import React, { Fragment } from "react";
import Link from "next/link";

const Error = () => {
  return (
    <Fragment>
      <header className="header-404 text-center">
        <div className="thm-container">
          <Link href="/">
            <a className="logo">
              返回
            </a>
          </Link>
        </div>
      </header>

      <section className="content-404 text-center sec-pad">
        <div className="container">
          <h2>404 not found</h2>
          <Link href="/">
            返回首页
          </Link>
        </div>
      </section>
    </Fragment>
  );
};

export default Error;
